package calendar;

import java.util.Date;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamConverter;
@XStreamAlias("Person") 
public class Person {

	private int age;
	private String name;
	@XStreamConverter(value=XStreamYMDDateConverter.class)
	private Date d_ate;
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Date getD_ate() {
		return d_ate;
	}
	public void setD_ate(Date d_ate) {
		this.d_ate = d_ate;
	}
	@Override
	public String toString() {
		return "Person [age=" + age + ", name=" + name + ", d_ate=" + d_ate + "]";
	}

}
